package com.gopay.common.constants.bank;

import java.io.Serializable;

public class CibConstants implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 6375974579104002L;

    /**
     * 订单查询返回错误标签
     */
    public static final String NETPAYERR_BEGIN_TAG = "<netpay_err>";
    public static final String NETPAYERR_END_TAG = "</netpay_err>";

    /**
     * 订单查询返回错误码
     */
    public static final String CODE_BEGIN_TAG = "<code>";
    public static final String CODE_END_TAG = "</code>";

    /**
     * 订单查询返回错误信息
     */
    public static final String MSG_BEGIN_TAG = "<msg>";
    public static final String MSG_END_TAG = "</msg>";

    /**
     * 订单查询返回成功标签
     */
    public static final String NETPAYRESP_BEGIN_TAG = "<netpay_resp>";
    public static final String NETPAYRESP_END_TAG = "</netpay_resp>";

    /**
     * 订单查询返回订单号
     */
    public static final String ORDERNO_BEGIN_TAG = "<orderNo>";
    public static final String ORDERNO_END_TAG = "</orderNo>";

    /**
     * 订单查询返回订单金额
     */
    public static final String ORDERAMOUNT_BEGIN_TAG = "<orderAmount>";
    public static final String ORDERAMOUNT_END_TAG = "</orderAmount>";

    /**
     * 订单查询返回错误码
     */
    public static final String ORDERSTATUS_BEGIN_TAG = "<orderStatus>";
    public static final String ORDERSTATUS_END_TAG = "</orderStatus>";

    /**
     * 订单查询返回订单状态
     */
    /** 订单状态 0：待支付. */
    public static final String ORDER_STATE_WAITAPAY = "0";
    /** 订单状态 1：已支付. */
    public static final String ORDER_STATE_PAYMENT = "1";
    /** 订单状态 2：已结算. */
    public static final String ORDER_STATE_SETTLEMENT = "2";
    /** 订单状态 3：已撤销. */
    public static final String ORDER_STATE_CANCEL = "3";
    /** 订单状态 4：部分退款. */
    public static final String ORDER_STATE_PARTREFUND = "4";
    /** 订单状态 5：全额退款. */
    public static final String ORDER_STATE_ALLREFUND = "5";
    /** 订单状态 6：支付失败. */
    public static final String ORDER_STATE_FAIL = "6";

}
